<script lang="ts">
  import { Tab, Tabs } from "@component/tab/index";
  import type { PageData } from "./$types";
  export let data: PageData;
  let activeTab = 0;
</script>

<Tabs prerender={true} active={activeTab}>
  <Tab label="数据集概览" href={data.baseUrl + "/overview"}>
    <div class="p-2">README.md</div>
  </Tab>
  <Tab label="数据集文件" href={data.baseUrl + "/entries"}>
  </Tab>
</Tabs>